/*------------------------------------------------------------------------------
 * Copyright 2012 NCR Corporation
 *------------------------------------------------------------------------------
 * All revision information is updated automatically from source code control
 * change records - please do not manually edit.
 *------------------------------------------------------------------------------
 *
 * $LastChangedRevision:: 2123                                     $
 * $LastChangedBy:: rb250096                                       $
 * $LastChangedDate:: 2012-04-18 00:43:25 -0400 (Wed, 18 Apr 2012) $
 */

package com.ncr.nep.dashboardcore.utils.client;

import com.google.gwt.core.client.JavaScriptObject;

/**
 * Base class for message objects sent between {@link InterWindowEventBus}
 * instances.
 *
 * @author rb250096
 * @version $Revision: 2123 $
 */
public abstract class InterWindowMessage extends JavaScriptObject {

    /**
     * Constructor.
     */
    protected InterWindowMessage() { }

    /**
     * Gets the type of message contained in this.
     *
     * @return The message type.
     */
    public final native String getMessageType() /*-{
        return this.type;
    }-*/;
}
